package org.flower.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.flower.bean.OrderState;
import org.flower.bean.OrderStateExample;

public interface OrderStateMapper {

    /**
     * 找到所有
     *
     * @return {@link List}<{@link OrderState}>
     */
    List<OrderState> findAll();

    int countByExample(OrderStateExample example);

    int deleteByExample(OrderStateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(OrderState record);

    int insertSelective(OrderState record);

    List<OrderState> selectByExample(OrderStateExample example);

    OrderState selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") OrderState record, @Param("example") OrderStateExample example);

    int updateByExample(@Param("record") OrderState record, @Param("example") OrderStateExample example);

    int updateByPrimaryKeySelective(OrderState record);

    int updateByPrimaryKey(OrderState record);
}